/**
 * Created with IntelliJ IDEA.
 * User: juyee
 * Date: 13-8-6
 * Time: 下午3:13
 * To change this template use File | Settings | File Templates.
 */
$(document).ready(function () {
    $('#' + obj[myKey] + 'borthDate').datetimebox({
        required: true,
        formatter: formaterDateTime
    })
    $('#' + obj[myKey] + 'age').numberbox({
        min: 0,
        required: true,
        precision: 0,
        max: 100
    });
    $('#' + obj[myKey] + 'height').numberbox({
        min: 0,
        required: true,
        precision: 2,
        max: 250
    });

    $('#' + obj[myKey] + 'clazz').combobox({
        url: 'context/getKeyValueDtos.do',
        valueField: 'id',
        textField: 'text',
        onBeforeLoad: function (param) {
            param.className = 'com.easy.yours.biz.model.Clazz';
        }
    });
})
